﻿<controls:ChildWindow x:Class="QSHC.QSchedule.Silverlight.Views.AppointmentCardWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="Auto" Height="Auto" 
           Title="AppointmentCardWindow" xmlns:my="clr-namespace:QSHC.QSchedule.Silverlight.Views">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <my:AppointmentCard Grid.Row="0" x:Name="AppointmentCard" />
        <Button x:Name="CloseButton" Content="ปิด" Click="CloseButton_Click" Width="80" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" Style="{StaticResource ButtonStyle}" />
        <Button x:Name="PrintButton" Content="พิมพ์ใบนัด" Click="PrintButton_Click" Width="80" HorizontalAlignment="Right" Margin="0,12,90,0" Grid.Row="1" Style="{StaticResource ButtonStyle}" />
        <Button x:Name="PrintStickButton" Content="พิมพ์ Sticker" Width="80" HorizontalAlignment="Right" Margin="0,12,180,0" Grid.Row="1" Style="{StaticResource ButtonStyle}" Click="PrintStickButton_Click"/>
    </Grid>
</controls:ChildWindow>